$OpenBSD: patch-libdwarf_configure,v 1.2 2017/02/28 21:40:03 edd Exp $

Adjust configure tests to ensure HAVE_ELF64_RELA and HAVE_ELF64_SYM get
defined.

--- libdwarf/configure.orig	Sat Oct  1 00:30:27 2016
+++ libdwarf/configure	Mon Feb  6 14:04:20 2017
@@ -4246,7 +4246,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <elf.h>
+#include <libelf.h>
 int
 main ()
 {
@@ -4263,7 +4263,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <elf.h>
+#include <libelf.h>
 int
 main ()
 {
